package com.example.wechat;

import java.util.List;

public class Moment {
    private String id;
    private String userId;
    private String userName;
    private String userAvatar;
    private String content;
    private List<String> images;
    private long timestamp;

    public Moment(String id, String userId, String userName, String userAvatar, String content, List<String> images, long timestamp) {
        this.id = id;
        this.userId = userId;
        this.userName = userName;
        this.userAvatar = userAvatar;
        this.content = content;
        this.images = images;
        this.timestamp = timestamp;
    }

    public String getId() {
        return id;
    }

    public String getUserId() {
        return userId;
    }

    public String getUserName() {
        return userName;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public String getContent() {
        return content;
    }

    public List<String> getImages() {
        return images;
    }

    public long getTimestamp() {
        return timestamp;
    }
} 